<template>
  <div>
    <h3>姓名:华某某</h3>
    老婆姓名:<input type="text" v-model="mother">
    <h5>大儿子媳妇: {{Fwife}}</h5>
    <hr>
    <FS :mother='mother' :Fwife="Fwife" @wifeChange='wifeChange'></FS>
    <SS :mother='mother' :Fwife="Fwife"></SS>
  </div>
</template>

<script>
import FS from '@/components/FirstSon/FirstSon.vue'
import SS from '@/components/SecondSon/SecondSon.vue'
export default {
  components: {
    FS,
    SS
  },
  data () {
    return {
      mother: '',
      Fwife: ''
    }
  },
  methods: {
    wifeChange (val) {
      this.Fwife = val
    }
  }
}
</script>

<style>

</style>
